package com.molyfun.parents.rest.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/11/10 0010.
 */

public class SignUpBean implements Parcelable{
    private String question ;
    private String questionA;
    private String questionB;
    private String questionC;
    private String questionD;
    private String questionE;
    private boolean isChoiceState;


    public SignUpBean() {
    }

    public boolean getIsChoiceState() {
        return isChoiceState;
    }

    public void setIsChoiceState(boolean isChoiceState) {
        this.isChoiceState = isChoiceState;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getQuestionA() {
        return questionA;
    }

    public void setQuestionA(String questionA) {
        this.questionA = questionA;
    }

    public String getQuestionB() {
        return questionB;
    }

    public void setQuestionB(String questionB) {
        this.questionB = questionB;
    }

    public String getQuestionC() {
        return questionC;
    }

    public void setQuestionC(String questionC) {
        this.questionC = questionC;
    }

    public String getQuestionD() {
        return questionD;
    }

    public void setQuestionD(String questionD) {
        this.questionD = questionD;
    }

    public String getQuestionE() {
        return questionE;
    }

    public void setQuestionE(String questionE) {
        this.questionE = questionE;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.question);
        dest.writeString(this.questionA);
        dest.writeString(this.questionB);
        dest.writeString(this.questionC);
        dest.writeString(this.questionD);
        dest.writeString(this.questionE);
        dest.writeByte(this.isChoiceState ? (byte) 1 : (byte) 0);
    }

    protected SignUpBean(Parcel in) {
        this.question = in.readString();
        this.questionA = in.readString();
        this.questionB = in.readString();
        this.questionC = in.readString();
        this.questionD = in.readString();
        this.questionE = in.readString();
        this.isChoiceState = in.readByte() != 0;
    }

    public static final Creator<SignUpBean> CREATOR = new Creator<SignUpBean>() {
        @Override
        public SignUpBean createFromParcel(Parcel source) {
            return new SignUpBean(source);
        }

        @Override
        public SignUpBean[] newArray(int size) {
            return new SignUpBean[size];
        }
    };
}
